using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class SMSG_SPELLBREAKLOG_DEF : DefinitionBase
    {
        public override bool Process()
        {
            ResetPosition();

            UInt64 guid = popGuid();
            UInt64 attackerguid = popGuid();
            UInt32 m_spellId = ReadUInt32(); // DS: Changed for 2.4.0.
            UInt32 unk1 = ReadUInt32();
            UInt16 m_spellId2 = ReadUInt16();
            UInt32 unk2 = ReadUInt32();

            if (AvailableBytes  > 0)
            {
                byte unkb = ReadByte();
                UInt32 unk3 = ReadUInt32();
                Warning = "UNDEFINED";
                return true;
                 
            }
            return Validate();
        }
    }
}